/**
 * @filename:SysPermissionBsRequest 2025-05-27
 * @project starhub-schema  V1.0
 */
package com.starhub.engine.sys.permission.request;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**   
 * @Description:(权限表请求类)
 * @version: V1.0
 * @author: luosw
 */
@Data
@ApiModel(value = "权限表后台配置参数实体", description = "权限表后台配置参数实体")
public class SysPermissionBsRequest {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "id" , value = "ID")
    private Long id;

    @ApiModelProperty(name = "perType" , value = "类型（操作/资源）")
    private String perType;

    @ApiModelProperty(name = "perCode" , value = "权限编码（如 user:add）")
    private String perCode;

    @ApiModelProperty(name = "name" , value = "权限名称")
    private String name;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "menuId" , value = "关联的菜单ID（仅资源权限需绑定）")
    private Long menuId;



}
